import request from '@/utils/request'
export default {
    //分页查询
    getPageList(page, limit, searchObj) {
        return request({
                url: '/admin/balanceRechargeRecord/list/'+page+'/'+limit,
                method: 'get',
                params: searchObj
        })
    },
    //删除BalanceRechargeRecord
    removeById(id) {
        return request({
            url: '/admin/balanceRechargeRecord/remove/'+id,
            method: 'delete'
        })
    },
    //新增BalanceRechargeRecord等级
    save(balanceRechargeRecord) {
        return request({
            url: '/admin/balanceRechargeRecord/save',
            method: 'post',
            data: balanceRechargeRecord
        })
    },
    //根据id查询BalanceRechargeRecord
    getById(id) {
        return request({
            url: '/admin/balanceRechargeRecord/'+id,
            method: 'get'
        })
    },
    //修改BalanceRechargeRecord
    updateById(balanceRechargeRecord) {
        return request({
            url: '/admin/balanceRechargeRecord/update',
            method: 'put',
            data: balanceRechargeRecord
        })
    }
}